package com.sdry.entity.agreement;

import java.util.ArrayList;
import java.util.List;

public class AgreementExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AgreementExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAidIsNull() {
            addCriterion("aid is null");
            return (Criteria) this;
        }

        public Criteria andAidIsNotNull() {
            addCriterion("aid is not null");
            return (Criteria) this;
        }

        public Criteria andAidEqualTo(Long value) {
            addCriterion("aid =", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotEqualTo(Long value) {
            addCriterion("aid <>", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThan(Long value) {
            addCriterion("aid >", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThanOrEqualTo(Long value) {
            addCriterion("aid >=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThan(Long value) {
            addCriterion("aid <", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThanOrEqualTo(Long value) {
            addCriterion("aid <=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidIn(List<Long> values) {
            addCriterion("aid in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotIn(List<Long> values) {
            addCriterion("aid not in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidBetween(Long value1, Long value2) {
            addCriterion("aid between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotBetween(Long value1, Long value2) {
            addCriterion("aid not between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andClientIsNull() {
            addCriterion("client is null");
            return (Criteria) this;
        }

        public Criteria andClientIsNotNull() {
            addCriterion("client is not null");
            return (Criteria) this;
        }

        public Criteria andClientEqualTo(String value) {
            addCriterion("client =", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientNotEqualTo(String value) {
            addCriterion("client <>", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientGreaterThan(String value) {
            addCriterion("client >", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientGreaterThanOrEqualTo(String value) {
            addCriterion("client >=", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientLessThan(String value) {
            addCriterion("client <", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientLessThanOrEqualTo(String value) {
            addCriterion("client <=", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientLike(String value) {
            addCriterion("client like", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientNotLike(String value) {
            addCriterion("client not like", value, "client");
            return (Criteria) this;
        }

        public Criteria andClientIn(List<String> values) {
            addCriterion("client in", values, "client");
            return (Criteria) this;
        }

        public Criteria andClientNotIn(List<String> values) {
            addCriterion("client not in", values, "client");
            return (Criteria) this;
        }

        public Criteria andClientBetween(String value1, String value2) {
            addCriterion("client between", value1, value2, "client");
            return (Criteria) this;
        }

        public Criteria andClientNotBetween(String value1, String value2) {
            addCriterion("client not between", value1, value2, "client");
            return (Criteria) this;
        }

        public Criteria andAnameIsNull() {
            addCriterion("aname is null");
            return (Criteria) this;
        }

        public Criteria andAnameIsNotNull() {
            addCriterion("aname is not null");
            return (Criteria) this;
        }

        public Criteria andAnameEqualTo(String value) {
            addCriterion("aname =", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotEqualTo(String value) {
            addCriterion("aname <>", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameGreaterThan(String value) {
            addCriterion("aname >", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameGreaterThanOrEqualTo(String value) {
            addCriterion("aname >=", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLessThan(String value) {
            addCriterion("aname <", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLessThanOrEqualTo(String value) {
            addCriterion("aname <=", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLike(String value) {
            addCriterion("aname like", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotLike(String value) {
            addCriterion("aname not like", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameIn(List<String> values) {
            addCriterion("aname in", values, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotIn(List<String> values) {
            addCriterion("aname not in", values, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameBetween(String value1, String value2) {
            addCriterion("aname between", value1, value2, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotBetween(String value1, String value2) {
            addCriterion("aname not between", value1, value2, "aname");
            return (Criteria) this;
        }

        public Criteria andItemIsNull() {
            addCriterion("item is null");
            return (Criteria) this;
        }

        public Criteria andItemIsNotNull() {
            addCriterion("item is not null");
            return (Criteria) this;
        }

        public Criteria andItemEqualTo(String value) {
            addCriterion("item =", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotEqualTo(String value) {
            addCriterion("item <>", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemGreaterThan(String value) {
            addCriterion("item >", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemGreaterThanOrEqualTo(String value) {
            addCriterion("item >=", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLessThan(String value) {
            addCriterion("item <", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLessThanOrEqualTo(String value) {
            addCriterion("item <=", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLike(String value) {
            addCriterion("item like", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotLike(String value) {
            addCriterion("item not like", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemIn(List<String> values) {
            addCriterion("item in", values, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotIn(List<String> values) {
            addCriterion("item not in", values, "item");
            return (Criteria) this;
        }

        public Criteria andItemBetween(String value1, String value2) {
            addCriterion("item between", value1, value2, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotBetween(String value1, String value2) {
            addCriterion("item not between", value1, value2, "item");
            return (Criteria) this;
        }

        public Criteria andHtmlIsNull() {
            addCriterion("html is null");
            return (Criteria) this;
        }

        public Criteria andHtmlIsNotNull() {
            addCriterion("html is not null");
            return (Criteria) this;
        }

        public Criteria andHtmlEqualTo(String value) {
            addCriterion("html =", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlNotEqualTo(String value) {
            addCriterion("html <>", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlGreaterThan(String value) {
            addCriterion("html >", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlGreaterThanOrEqualTo(String value) {
            addCriterion("html >=", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlLessThan(String value) {
            addCriterion("html <", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlLessThanOrEqualTo(String value) {
            addCriterion("html <=", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlLike(String value) {
            addCriterion("html like", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlNotLike(String value) {
            addCriterion("html not like", value, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlIn(List<String> values) {
            addCriterion("html in", values, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlNotIn(List<String> values) {
            addCriterion("html not in", values, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlBetween(String value1, String value2) {
            addCriterion("html between", value1, value2, "html");
            return (Criteria) this;
        }

        public Criteria andHtmlNotBetween(String value1, String value2) {
            addCriterion("html not between", value1, value2, "html");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(String value) {
            addCriterion("createDate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(String value) {
            addCriterion("createDate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(String value) {
            addCriterion("createDate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(String value) {
            addCriterion("createDate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(String value) {
            addCriterion("createDate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(String value) {
            addCriterion("createDate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLike(String value) {
            addCriterion("createDate like", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotLike(String value) {
            addCriterion("createDate not like", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<String> values) {
            addCriterion("createDate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<String> values) {
            addCriterion("createDate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(String value1, String value2) {
            addCriterion("createDate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(String value1, String value2) {
            addCriterion("createDate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andAremarkIsNull() {
            addCriterion("aremark is null");
            return (Criteria) this;
        }

        public Criteria andAremarkIsNotNull() {
            addCriterion("aremark is not null");
            return (Criteria) this;
        }

        public Criteria andAremarkEqualTo(String value) {
            addCriterion("aremark =", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkNotEqualTo(String value) {
            addCriterion("aremark <>", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkGreaterThan(String value) {
            addCriterion("aremark >", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkGreaterThanOrEqualTo(String value) {
            addCriterion("aremark >=", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkLessThan(String value) {
            addCriterion("aremark <", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkLessThanOrEqualTo(String value) {
            addCriterion("aremark <=", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkLike(String value) {
            addCriterion("aremark like", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkNotLike(String value) {
            addCriterion("aremark not like", value, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkIn(List<String> values) {
            addCriterion("aremark in", values, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkNotIn(List<String> values) {
            addCriterion("aremark not in", values, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkBetween(String value1, String value2) {
            addCriterion("aremark between", value1, value2, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremarkNotBetween(String value1, String value2) {
            addCriterion("aremark not between", value1, value2, "aremark");
            return (Criteria) this;
        }

        public Criteria andAremark3IsNull() {
            addCriterion("aremark3 is null");
            return (Criteria) this;
        }

        public Criteria andAremark3IsNotNull() {
            addCriterion("aremark3 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark3EqualTo(String value) {
            addCriterion("aremark3 =", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3NotEqualTo(String value) {
            addCriterion("aremark3 <>", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3GreaterThan(String value) {
            addCriterion("aremark3 >", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3GreaterThanOrEqualTo(String value) {
            addCriterion("aremark3 >=", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3LessThan(String value) {
            addCriterion("aremark3 <", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3LessThanOrEqualTo(String value) {
            addCriterion("aremark3 <=", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3Like(String value) {
            addCriterion("aremark3 like", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3NotLike(String value) {
            addCriterion("aremark3 not like", value, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3In(List<String> values) {
            addCriterion("aremark3 in", values, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3NotIn(List<String> values) {
            addCriterion("aremark3 not in", values, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3Between(String value1, String value2) {
            addCriterion("aremark3 between", value1, value2, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark3NotBetween(String value1, String value2) {
            addCriterion("aremark3 not between", value1, value2, "aremark3");
            return (Criteria) this;
        }

        public Criteria andAremark1IsNull() {
            addCriterion("aremark1 is null");
            return (Criteria) this;
        }

        public Criteria andAremark1IsNotNull() {
            addCriterion("aremark1 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark1EqualTo(String value) {
            addCriterion("aremark1 =", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1NotEqualTo(String value) {
            addCriterion("aremark1 <>", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1GreaterThan(String value) {
            addCriterion("aremark1 >", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1GreaterThanOrEqualTo(String value) {
            addCriterion("aremark1 >=", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1LessThan(String value) {
            addCriterion("aremark1 <", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1LessThanOrEqualTo(String value) {
            addCriterion("aremark1 <=", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1Like(String value) {
            addCriterion("aremark1 like", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1NotLike(String value) {
            addCriterion("aremark1 not like", value, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1In(List<String> values) {
            addCriterion("aremark1 in", values, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1NotIn(List<String> values) {
            addCriterion("aremark1 not in", values, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1Between(String value1, String value2) {
            addCriterion("aremark1 between", value1, value2, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark1NotBetween(String value1, String value2) {
            addCriterion("aremark1 not between", value1, value2, "aremark1");
            return (Criteria) this;
        }

        public Criteria andAremark4IsNull() {
            addCriterion("aremark4 is null");
            return (Criteria) this;
        }

        public Criteria andAremark4IsNotNull() {
            addCriterion("aremark4 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark4EqualTo(String value) {
            addCriterion("aremark4 =", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4NotEqualTo(String value) {
            addCriterion("aremark4 <>", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4GreaterThan(String value) {
            addCriterion("aremark4 >", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4GreaterThanOrEqualTo(String value) {
            addCriterion("aremark4 >=", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4LessThan(String value) {
            addCriterion("aremark4 <", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4LessThanOrEqualTo(String value) {
            addCriterion("aremark4 <=", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4Like(String value) {
            addCriterion("aremark4 like", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4NotLike(String value) {
            addCriterion("aremark4 not like", value, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4In(List<String> values) {
            addCriterion("aremark4 in", values, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4NotIn(List<String> values) {
            addCriterion("aremark4 not in", values, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4Between(String value1, String value2) {
            addCriterion("aremark4 between", value1, value2, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark4NotBetween(String value1, String value2) {
            addCriterion("aremark4 not between", value1, value2, "aremark4");
            return (Criteria) this;
        }

        public Criteria andAremark5IsNull() {
            addCriterion("aremark5 is null");
            return (Criteria) this;
        }

        public Criteria andAremark5IsNotNull() {
            addCriterion("aremark5 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark5EqualTo(String value) {
            addCriterion("aremark5 =", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5NotEqualTo(String value) {
            addCriterion("aremark5 <>", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5GreaterThan(String value) {
            addCriterion("aremark5 >", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5GreaterThanOrEqualTo(String value) {
            addCriterion("aremark5 >=", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5LessThan(String value) {
            addCriterion("aremark5 <", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5LessThanOrEqualTo(String value) {
            addCriterion("aremark5 <=", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5Like(String value) {
            addCriterion("aremark5 like", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5NotLike(String value) {
            addCriterion("aremark5 not like", value, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5In(List<String> values) {
            addCriterion("aremark5 in", values, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5NotIn(List<String> values) {
            addCriterion("aremark5 not in", values, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5Between(String value1, String value2) {
            addCriterion("aremark5 between", value1, value2, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark5NotBetween(String value1, String value2) {
            addCriterion("aremark5 not between", value1, value2, "aremark5");
            return (Criteria) this;
        }

        public Criteria andAremark2IsNull() {
            addCriterion("aremark2 is null");
            return (Criteria) this;
        }

        public Criteria andAremark2IsNotNull() {
            addCriterion("aremark2 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark2EqualTo(String value) {
            addCriterion("aremark2 =", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2NotEqualTo(String value) {
            addCriterion("aremark2 <>", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2GreaterThan(String value) {
            addCriterion("aremark2 >", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2GreaterThanOrEqualTo(String value) {
            addCriterion("aremark2 >=", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2LessThan(String value) {
            addCriterion("aremark2 <", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2LessThanOrEqualTo(String value) {
            addCriterion("aremark2 <=", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2Like(String value) {
            addCriterion("aremark2 like", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2NotLike(String value) {
            addCriterion("aremark2 not like", value, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2In(List<String> values) {
            addCriterion("aremark2 in", values, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2NotIn(List<String> values) {
            addCriterion("aremark2 not in", values, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2Between(String value1, String value2) {
            addCriterion("aremark2 between", value1, value2, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark2NotBetween(String value1, String value2) {
            addCriterion("aremark2 not between", value1, value2, "aremark2");
            return (Criteria) this;
        }

        public Criteria andAremark6IsNull() {
            addCriterion("aremark6 is null");
            return (Criteria) this;
        }

        public Criteria andAremark6IsNotNull() {
            addCriterion("aremark6 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark6EqualTo(String value) {
            addCriterion("aremark6 =", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6NotEqualTo(String value) {
            addCriterion("aremark6 <>", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6GreaterThan(String value) {
            addCriterion("aremark6 >", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6GreaterThanOrEqualTo(String value) {
            addCriterion("aremark6 >=", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6LessThan(String value) {
            addCriterion("aremark6 <", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6LessThanOrEqualTo(String value) {
            addCriterion("aremark6 <=", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6Like(String value) {
            addCriterion("aremark6 like", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6NotLike(String value) {
            addCriterion("aremark6 not like", value, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6In(List<String> values) {
            addCriterion("aremark6 in", values, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6NotIn(List<String> values) {
            addCriterion("aremark6 not in", values, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6Between(String value1, String value2) {
            addCriterion("aremark6 between", value1, value2, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark6NotBetween(String value1, String value2) {
            addCriterion("aremark6 not between", value1, value2, "aremark6");
            return (Criteria) this;
        }

        public Criteria andAremark7IsNull() {
            addCriterion("aremark7 is null");
            return (Criteria) this;
        }

        public Criteria andAremark7IsNotNull() {
            addCriterion("aremark7 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark7EqualTo(String value) {
            addCriterion("aremark7 =", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7NotEqualTo(String value) {
            addCriterion("aremark7 <>", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7GreaterThan(String value) {
            addCriterion("aremark7 >", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7GreaterThanOrEqualTo(String value) {
            addCriterion("aremark7 >=", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7LessThan(String value) {
            addCriterion("aremark7 <", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7LessThanOrEqualTo(String value) {
            addCriterion("aremark7 <=", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7Like(String value) {
            addCriterion("aremark7 like", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7NotLike(String value) {
            addCriterion("aremark7 not like", value, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7In(List<String> values) {
            addCriterion("aremark7 in", values, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7NotIn(List<String> values) {
            addCriterion("aremark7 not in", values, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7Between(String value1, String value2) {
            addCriterion("aremark7 between", value1, value2, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark7NotBetween(String value1, String value2) {
            addCriterion("aremark7 not between", value1, value2, "aremark7");
            return (Criteria) this;
        }

        public Criteria andAremark8IsNull() {
            addCriterion("aremark8 is null");
            return (Criteria) this;
        }

        public Criteria andAremark8IsNotNull() {
            addCriterion("aremark8 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark8EqualTo(String value) {
            addCriterion("aremark8 =", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8NotEqualTo(String value) {
            addCriterion("aremark8 <>", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8GreaterThan(String value) {
            addCriterion("aremark8 >", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8GreaterThanOrEqualTo(String value) {
            addCriterion("aremark8 >=", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8LessThan(String value) {
            addCriterion("aremark8 <", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8LessThanOrEqualTo(String value) {
            addCriterion("aremark8 <=", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8Like(String value) {
            addCriterion("aremark8 like", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8NotLike(String value) {
            addCriterion("aremark8 not like", value, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8In(List<String> values) {
            addCriterion("aremark8 in", values, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8NotIn(List<String> values) {
            addCriterion("aremark8 not in", values, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8Between(String value1, String value2) {
            addCriterion("aremark8 between", value1, value2, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark8NotBetween(String value1, String value2) {
            addCriterion("aremark8 not between", value1, value2, "aremark8");
            return (Criteria) this;
        }

        public Criteria andAremark9IsNull() {
            addCriterion("aremark9 is null");
            return (Criteria) this;
        }

        public Criteria andAremark9IsNotNull() {
            addCriterion("aremark9 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark9EqualTo(String value) {
            addCriterion("aremark9 =", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9NotEqualTo(String value) {
            addCriterion("aremark9 <>", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9GreaterThan(String value) {
            addCriterion("aremark9 >", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9GreaterThanOrEqualTo(String value) {
            addCriterion("aremark9 >=", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9LessThan(String value) {
            addCriterion("aremark9 <", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9LessThanOrEqualTo(String value) {
            addCriterion("aremark9 <=", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9Like(String value) {
            addCriterion("aremark9 like", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9NotLike(String value) {
            addCriterion("aremark9 not like", value, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9In(List<String> values) {
            addCriterion("aremark9 in", values, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9NotIn(List<String> values) {
            addCriterion("aremark9 not in", values, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9Between(String value1, String value2) {
            addCriterion("aremark9 between", value1, value2, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark9NotBetween(String value1, String value2) {
            addCriterion("aremark9 not between", value1, value2, "aremark9");
            return (Criteria) this;
        }

        public Criteria andAremark10IsNull() {
            addCriterion("aremark10 is null");
            return (Criteria) this;
        }

        public Criteria andAremark10IsNotNull() {
            addCriterion("aremark10 is not null");
            return (Criteria) this;
        }

        public Criteria andAremark10EqualTo(String value) {
            addCriterion("aremark10 =", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10NotEqualTo(String value) {
            addCriterion("aremark10 <>", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10GreaterThan(String value) {
            addCriterion("aremark10 >", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10GreaterThanOrEqualTo(String value) {
            addCriterion("aremark10 >=", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10LessThan(String value) {
            addCriterion("aremark10 <", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10LessThanOrEqualTo(String value) {
            addCriterion("aremark10 <=", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10Like(String value) {
            addCriterion("aremark10 like", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10NotLike(String value) {
            addCriterion("aremark10 not like", value, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10In(List<String> values) {
            addCriterion("aremark10 in", values, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10NotIn(List<String> values) {
            addCriterion("aremark10 not in", values, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10Between(String value1, String value2) {
            addCriterion("aremark10 between", value1, value2, "aremark10");
            return (Criteria) this;
        }

        public Criteria andAremark10NotBetween(String value1, String value2) {
            addCriterion("aremark10 not between", value1, value2, "aremark10");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}